package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 goods
 * 
 * @author ruoyi
 * @date 2024-12-04
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long goodsNum;

    /** $column.columnComment */
    @Excel(name = "商品名称", readConverterExp = "")
    private String goodsName;

    /** $column.columnComment */
    @Excel(name = "单价", readConverterExp = "")
    private Long goodsPrice;

    /** $column.columnComment */
    @Excel(name = "数量", readConverterExp = "")
    private Long goodsQuantity;

    /** $column.columnComment */
    @Excel(name = "单位", readConverterExp = "")
    private String unit;

    /** $column.columnComment */
    @Excel(name = "商品信息", readConverterExp = "")
    private String info;

    private Long warehouseId;
    public void setGoodsNum(Long goodsNum) 
    {
        this.goodsNum = goodsNum;
    }


    public Long getGoodsNum() 
    {
        return goodsNum;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setGoodsPrice(Long goodsPrice) 
    {
        this.goodsPrice = goodsPrice;
    }

    public Long getGoodsPrice() 
    {
        return goodsPrice;
    }
    public void setGoodsQuantity(Long goodsQuantity) 
    {
        this.goodsQuantity = goodsQuantity;
    }

    public Long getGoodsQuantity() 
    {
        return goodsQuantity;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    private String warehouseName;

    // Getter and Setter for warehouseName
    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsNum", getGoodsNum())
            .append("goodsName", getGoodsName())
            .append("goodsPrice", getGoodsPrice())
            .append("goodsQuantity", getGoodsQuantity())
            .append("unit", getUnit())
            .append("info", getInfo())
            .append("warehouseId", getWarehouseId())
            .toString();
    }
}
